
package br.com.jk.uf;

import br.com.jk.util.DaoFactory;
import java.util.List;

/**
 *
 * @author camilo
 */
public class UfRn {
  private UfDao cidDao;
  
  public UfRn(){
    this.cidDao = DaoFactory.criarUfDao();
  }
  
  public void salvar(Uf uf){
    this.cidDao.salvar(uf);
  }
  
  public List<Uf> listar(){
    return this.cidDao.listar();
  }
  
  public Uf carregar(int id){
    return this.cidDao.carregar(id);
  }
  
  public void excluir(Uf uf){
    this.cidDao.excluir(uf);
  }
}
